package com.asd.system.service.Impl;

import com.asd.system.entity.Icon;
import com.asd.system.mapper.IconMapper;
import com.asd.system.service.IIconService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @createtime 2021-09-13 14:20
 * @description
 */
@Service
public class IconServiceImpl extends ServiceImpl<IconMapper, Icon> implements IIconService {


    @Autowired
    private IconMapper iconMapper;


    @Override
    public void deletByIconEchoPath(String iconEchoPath) {
        iconMapper.deletByIconEchoPath(iconEchoPath);
    }

    @Override
    public List<String> selectByUserName(String userName) {
        return iconMapper.selectByUserName(userName);
    }
}
